<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    let str = "business/clean/add/{id}"
    console.log(str.replace("{id}", "123"));
</script>
</body>
</html>